﻿
           @{
               Layout = null;
               }
            <ul id="menu" class="linkHack">
                    <li class="selected"><a  href="/Home/Index">首页</a></li>
                    <li>学校介绍
                        <ul class="subMenu">
                            <div style=" position:absolute; background:url(/Content/images/subMenuBar_ico.png);width:36px;height:42px; top:-30px;left:-10px"></div>
                            <li><a  href="/SiteLibrary/view/学校概况">学校概况</a></li>
                            <li><a  href="/SiteLibrary/view/师职介绍">师职介绍</a></li>
                            <li><a  href="/SiteLibrary/view/办学成绩">办学成绩</a></li>
                            <li><a  href="/SiteLibrary/view/校长寄语">校长寄语</a></li>
                        </ul>
                    </li>
                    <li>办学特点
                        <ul class="subMenu">
                             <div style=" position:absolute; background:url(/Content/images/subMenuBar_ico.png);width:36px;height:42px; top:-30px;left:-10px"></div>

                            <li><a  href="/SiteLibrary/view/授课模式">授课模式</a></li>
                            <li><a  href="/SiteLibrary/view/课程设置">课程设置</a></li>
                        </ul>
                    </li>
                    <li>学校动态
                        <ul class="subMenu">
                            <div style=" position:absolute; background:url(/Content/images/subMenuBar_ico.png);width:36px;height:42px; top:-30px;left:-10px"></div>
                            <li><a href="/document/index/1">新闻</a></li>
                            <li><a href="/document/index/2">相册</a></li>
                            <li><a href="/document/index/3">教师日记</a></li>
                            <li><a href="/document/index/4">特别推荐</a></li>
                        </ul>
                    </li>
                    <li><a href="/SiteLibrary/view/入学帮助">入学帮助</a></li>
                    <li><a href="/SiteLibrary/view/课外培训">课外培训</a></li>


            </ul>
            <script type="text/javascript">
                var linkss = document.getElementById("menu").getElementsByTagName("a");
                var loc = self.location.href.toUpperCase();

                for (var i = 0; i < linkss.length; i++) {
                    //alert(loc+"\n"+linkss[i].attributes["href"].value.toUpperCase()+"\n"+loc.indexOf(linkss[i].attributes["href"].value.toUpperCase()))
                    if (loc.indexOf(linkss[i].attributes["href"].value.toUpperCase()) > 0) {

                        linkss[i].className = "focus";

                   }
                }
            </script>